package com.sbr.tbd.dao;

import org.synyx.hades.dao.GenericDao;
import org.synyx.hades.dao.Param;
import org.synyx.hades.dao.Query;

import com.sbr.tbd.model.Application;

public interface ApplicationDao extends GenericDao<Application, Integer>{

	@Query("select 1 from Application where name = :name")
	Integer isNameAlreadyUsed(@Param("name")String name);

}
